package com.topcoder.srm519;

import java.util.Arrays;
import java.util.HashSet;
import java.util.List;

public class WhichDay {
	List<String> list = Arrays.asList("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
	
	public String getDay(String[] notOnThisDay) {
		HashSet<String> set = new HashSet<String>(list);
		set.removeAll(Arrays.asList(notOnThisDay));
		return set.iterator().next();
	}
}
